package com.rimi.bean;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;

/**
 * <p>
 * InnoDB free: 11264 kB; (`user_id`) REFER `owl_video/user`(`user_id`); (`video_id
 * </p>
 *
 * @author sky
 * @since 2018-06-06
 */
public class Watch implements Serializable {





    private static final long serialVersionUID = 1L;

    @TableId(value = "watch_id", type = IdType.AUTO)
    private Integer watchId;
    @TableField("user_id")
    private Integer userId;
    @TableField("video_id")
    private Integer videoId;
    @TableField("watch_time")
    private Date watchTime;


    public Integer getWatchId() {
        return watchId;
    }

    public void setWatchId(Integer watchId) {
        this.watchId = watchId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getVideoId() {
        return videoId;
    }

    public void setVideoId(Integer videoId) {
        this.videoId = videoId;
    }

    public Date getWatchTime() {
        return watchTime;
    }

    public void setWatchTime(Date watchTime) {
        this.watchTime = watchTime;
    }

    @Override
    public String toString() {
        return "Watch{" +
        ", watchId=" + watchId +
        ", userId=" + userId +
        ", videoId=" + videoId +
        ", watchTime=" + watchTime +
        "}";
    }
}
